﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Workflows.Components.Reports
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable]
	public class WorksheetTableBinding
	{
		private string _WorksheetName;
		/// <summary></summary>
		public string WorksheetName
		{
			get
			{
				return this._WorksheetName;
			}
			set
			{
				this._WorksheetName = value;
			}
		}

		private List<string> _TableNames;
		/// <summary></summary>
		public List<string> TableNames
		{
			get
			{
				return this._TableNames;
			}
			set
			{
				this._TableNames = value;
			}
		}

		private int _ColumnHeaderRowPosition;
		/// <summary></summary>
		public int ColumnHeaderRowPosition
		{
			get
			{
				return this._ColumnHeaderRowPosition;
			}
			set
			{
				this._ColumnHeaderRowPosition = value;
			}
		}

		private int _KeyColumnPosition;
		/// <summary></summary>
		public int KeyColumnPosition
		{
			get
			{
				return this._KeyColumnPosition;
			}
			set
			{
				this._KeyColumnPosition = value;
			}
		}

		private Dictionary<string,string> _TableKeyFields;
		/// <summary></summary>
		public Dictionary<string,string> TableKeyFields
		{
			get
			{
				return this._TableKeyFields;
			}
			set
			{
				this._TableKeyFields = value;
			}
		}

		private Dictionary<string,int> _ColumnPositions;
		/// <summary></summary>
		public Dictionary<string,int> ColumnPositions
		{
			get
			{
				return this._ColumnPositions;
			}
			set
			{
				this._ColumnPositions = value;
			}
		}
	}
}
